<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery-3.3.1.js"></script>
    <script>
        $(f);

        function f(){
            $(document).click(function(){
                $("body").append($("<img src='images/lswluo.gif' />"));
            });
        }

       </script>

</head>
<body>

</body>
</html>